@extends('backend::modal')
@section('title',$page_title??'修改密码')
@section('content')
    <div class="row">
            @component('backend::component.tab')
                @slot('tabs')
                    <li class="nav-item">
                        <a class="nav-link active" data-toggle="tab" href="#tab-login-pwd" role="tab">修改登录密码</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" data-toggle="tab" href="#tab-safe-pwd" role="tab">修改安全密码</a>
                    </li>
                @endslot
                    <div class="tab-pane active" id="tab-login-pwd" role="tabpanel">
                        @component('backend::admin.pwd_form.update_pwd_form')
                            @slot('title') 登录密码 @endslot
                            @slot('id') update-login-pwd @endslot
                            @slot('action') {{route('b_Admin_updatePwd',['action'=>'login'])}} @endslot
                            @slot('pwd_name') login_pwd @endslot
                        @endcomponent
                    </div>
                    <div class="tab-pane" id="tab-safe-pwd" role="tabpanel">
                        @component('backend::admin.pwd_form.update_pwd_form')
                            @slot('title') 安全密码 @endslot
                            @slot('id') update-safe-pwd @endslot
                            @slot('action') {{route('b_Admin_updatePwd',['action'=>'safe'])}} @endslot
                            @slot('pwd_name') safe_pwd @endslot
                        @endcomponent
                    </div>
            @endcomponent
 </div>
@endsection